package cn.hackcloud.mutithread.mutilthread.producer;

public class ThreadB extends Thread {
	private C c;

	public ThreadB(C c) {
		this.c = c;
	}

	@Override
	public void run() {
		while (true) {
			c.getValue();
		}

	}

}
